#ifndef SELECTEDFEATURELISTDLG_H
#define SELECTEDFEATURELISTDLG_H

#include <QWidget>
#include "ui_SelectedFeatureListDlg.h"


class VectorLayer;
class OGRLayer;
namespace TGS{
namespace MapControl{
	class MapWidget;
}
}

class SelectedFeatureListDlg : public QWidget
{
	Q_OBJECT
	typedef TGS::MapControl::MapWidget MapWidget;
public:
	SelectedFeatureListDlg(VectorLayer* vectorLayer, MapWidget* map, QWidget *parent);
	~SelectedFeatureListDlg();
public:
	void updateList();
private:
	void initialize();
private slots:
	void exportData();
	void importData();
	void deleteData();
	void itemDoubleClicked(QTableWidgetItem * item );
private:
	Ui::SelectedFeatureListDlg ui;
	VectorLayer*	_vectorLayer;
	OGRLayer*		_ogrLayer;
	MapWidget*		_map;
};

#endif // SELECTEDFEATURELISTDLG_H
